Preparation and Performance of Ordered Porous TiO2 Film Doped with Gd3+