Texture evolution of transition-metal nitride thin films by ion beam assisted deposition