Microbial formation of esters