Classification of detectors for ion chromatography using principal components regression and linear discriminant analysis