New methodology for construction of oxygen-containing heterocycles