Simultaneous spectrophotometric determination of calcium and magnesium in mineral waters by means of multivariate partial least-squares regression.