Whitehall 'needs radical reform' to avoid a crisis