Syntheses and characterization of 2-hydroxy-N-(2′-hydroxyalkyl)acetamides