Rearrangements of cationic organic σ- and π-complexes