Optimization of wavelength range and data interval in chemometric analysis of complex pharmaceutical mixtures