Thermodynamics of the ionization of substituted phenols