The use of glass electrodes for the determination of formation constants--II: Simulation of titration data.