Ion-beam-assisted deposition of textured NbN thin films