Influence of annealing temperature on the properties of TiO2 films annealed by ex situ and in situ TEM