Properties of titanium nitride films prepared by direct current magnetron sputtering