Studies on the Synthesis of Fused Heterocycles from O-Aminocarbonyl Compounds