Transesterification of 3-oxo esters with allylic alcohols