Thermal rearrangement of cyclopropyl imines. 3. Total synthesis of pyridine alkaloids.