Phosphoric acid reactions with diols