Text this: Eco-friendly optical sensor membrane for nickel ion detection in water and food samples