Characterization of niobium nitride thin films prepared by ion-assisted deposition