Synthesis of lanthanide-doped TiO2 nanoparticles and their photocatalytic activity under visible light