On the numerical analysis of titration curves to determine ionization constants in proteins.