Characterization of titanium nitride films deposited onto silicon