Chemical and Biochemical Approaches for the Synthesis of Substituted Dihydroxybutanones and Di- and Tri-Hydroxypentanones.