Stereospecific hydrolysis by soluble and immobilized lipases