Synthesis of 1-(2-hydroxyaryl)-1,2,3-propanetriol and 1-(2-hydroxyaryl)-2-amino-1,3-propanediol derivatives of either threo or erythro configuration