Exploring Environmentally Sensitive Benzo(heteroatom)diazole Dyes and Their Applications