Green synthesis protocols, toxicity, and recent progress in nanomaterial-based for environmental chemical sensors applications