Model studies for the synthesis of the antibiotic lactonamycin and the discovery of new reactions and mechanisms for the construction of substituted heterocycles