Effect of grain size on the oxidation kinetics of sputtered titanium nitride films