Preparation of Nb-doped TiO2 films by the sol-gel method