Dimroth Rearrangement: Translocation of Heteroatoms in Heterocyclic Rings and Its Role in Ring Transformations of Heterocycles