An unusual bond migration during O-acylation of tetramic acids