A colorimetric and fluorescent sensor for sequential detection of copper ion and cyanide