Use of immobilized enzymes to prepare chiral intermediates for the synthesis of biologically active compounds