Diastereoselective synthesis of anti- and syn-alpha,beta-dihydroxythioesters by titanium enolate condensation