Anionic optical devices based on 4-(nitrostyryl)phenols for the selective detection of fluoride in acetonitrile and cyanide in water