Basic Principles of Near-Infrared Spectroscopy