Lipase-catalysed reactions of chiral hydroxyacid esters: competition of esterification and transesterification