Molecular rearrangements of 1-oxa-2-azoles as an expedient route to fluorinated heterocyclic compounds