Naphthalimide-Based Polyammonium Chemosensors for Anions: Study of Binding Properties and Sensing Mechanisms.