Lipase-catalyzed synthesis of chiral amides. A systematic study of the variables that control the synthesis