NIR spectroscopy in bio-applications