Ratiometric fluorescent and chromogenic chemodosimeter for cyanide detection in water and its application in bioimaging