optical refractive index sensor