Sensors as green tools in analytical chemistry