Text this: Non-contact refractive index measurement based on fiber optic beam-through technique