A mathematical model of pH, based on the total stoichiometric concentration of acids, bases and ampholytes dissolved in water*