Pharmaceutical Applications of Near-Infrared Spectroscopy