Array of opto-chemical sensors based on fiber-optic spectroscopy