Simultaneous UV-Vis spectrophotometric quantification of ternary basic dye mixtures by partial least squares and artificial neural networks.