Estimating speciation of aqueous ammonia solutions of ammonium bicarbonate: application of least squares methods to infrared spectra