Structural and energetic determinants for enantiopreferences in kinetic resolution of lipases.