Semiconducting cyanide-transition-metal nanotubes