Analysis of aqueous solutions by near-infrared spectrometry (NIRS). I. Titrations of strong acids with strong bases