Lipase-catalyzed synthesis of optically active amides in organic media