A fluorogenic and chromogenic dual sensor for the detection of cyanide and copper(II) in water samples and living cells