Liquid refractometer based mirrorless fiber optic displacement sensor