A multivariate calibration procedure for UV/VIS spectrometric quantification of organic matter and nitrate in wastewater.