Synthesis of Heterocyclic Compounds by Ring Transformations of 2-Formyl Pentose Glycals.