Significant effect of lanthanide doping on the texture and properties of nanocrystalline mesoporous TiO2