Trends in the Design and Application of Optical Chemosensors in Pharmaceutical and Biomedical Analysis