Chemo-enzymatic synthesis of pharmaceutical intermediates