Electrical resistivity of titanium nitride thin films prepared by ion beam-assisted deposition