Principles and Applications of Near Infrared Spectroscopy