Biocatalysis in the preparation of homochiral pharmaceuticals