A multifunctional perylenediimide-based dual-analyte chemodosimeter for specific and rapid detection of H2S and Pd0 in water, biofluids, live cells and solid state