Structural analysis and shape-dependent catalytic activity of Au, Pt and Au/Pt nanoparticles