Exploring environmentally sensitive fluorescent dyes and their applications