Near infrared spectroscopy in the development of solid dosage forms