Directed assembly of Au and Fe nanoparticles on a TiOx/Pt(111) ultrathin template: the role of oxygen affinity