Dual stacked partial least squares for analysis of near-infrared spectra.