Reaction-based colorimetric and ratiometric fluorescence sensor for detection of cyanide in aqueous media.