Intramolecular pericyclic reactions of acetylenic compounds