Commutators of quasinilpotents and invariant subspaces