Chemically modified dansyl probes: a fluorescent diagnostic for ion and proton detection in solution and in polymers.