Syntheses and downstream purification of 1,2,4-butanetriol