Synthesis of Fluorescent Molecules and their Applications as Viscosity Sensors, Metal Ion Indicators, and Near-Infrared Probes