Thermal rearrangement of cyclopropyl imines. I. Total synthesis of myosmine and apoferrorosamine