Text this: Environment-independent liquid level sensing based on fiber-optic displacement sensors