Effect of Heating Rate on the Sintering of Titanium Dioxide Thin Films: Competition between Densification and Crystallization