Selection of essential spectra to improve the multivariate curve resolution of minor compounds in complex pharmaceutical formulations.