Text this: Fiber optic sensor based on lateral offset displacement for water quality analysis in agricultural applications