Ester synthesis in lipase-catalyzed reactions