A stereoselective approach to the synthesis of aminoalcohols