Highly Sensitive Sensing of Polarity, Temperature, and Acid Gases by a Smart Fluorescent Molecule