Detection of nonlinearity in multivariate calibration