Optical chemosensors for water sample analysis