Regio- and stereochemical control in bis-functionalization-cyclization: use of alleneyne precursors for carbocyclic and heterocyclic synthesis.