Nucleophilic substitution reactions with cyanide