Determination of the affinity constants of bases by the hydrogen and quinhydrone electrodes