Increasing efficiency in the synthesis of pharmaceuticals and chiral ligands using enzymes