Reaction of transition-metal cyanides and organic azides