Weighting in the interpretation of data for potentiometric acid—base titrations by non-linear regression