Pharmaceutical and Medical Applications of Near-Infrared Spectroscopy