Azabicyclo[3.3.0]octanes and 6-hydroxytetrahydroquinolines from intramolecular reactions of alkenyl(amino)carbene complexes with alkynes.