Role in photocatalysis and coordination structure of metal ions adsorbed on titanium dioxide particles: a comparison between lanthanide and iron ions