Non-aqueous cyanation of halides using lithium cyanide