Temperature-calibrated fiber-optic refractometer based on a