Stereoselective divergent synthesis of 1,2-aminoalcohol-containing heterocycles from a common chiral nonracemic building block