Thermal decomposition of phosphorylated hemimercaptals