Near Infrared Absorption Spectroscopy in Microfluidic Devices with Selectable Pathlength