Cyclopentadienyl-based Mg complexes in the intramolecular hydroamination of aminoalkenes: mechanistic evidence for cationic versus neutral magnesium derivatives