Titanium nitride films for barrier applications produced by rapid thermal CVD and subsequent in-situ annealing