A fluorescent molecular probe for the identification of zinc and cadmium salts by excited state charge transfer modulation.