Tutorial on a chemical model building by least-squares non-linear regression of multiwavelength spectrophotometric pH-titration data.