Fiber-optic sensor for salt concentration based on polymer swelling coupled to optical displacement