Protonation and magnesium ions shape the transition state diversity of phosphoanhydride hydrolysis in water | Synapse