Acid-catalyzed-rearrangement of enol ester epoxides