Regioselective reaction of singlet oxygen with α,β-unsaturated esters