Multicomponent analysis of ultraviolet spectra: application to pharmaceutical dosage forms