Synthesis of Dihydropyrrolizine and Tetrahydroindolizine Scaffolds from Pyrroles by Titanocene(III) Catalysis.