Hollow platinum-gold and palladium-gold nanoparticles: synthesis and characterization of composition-structure relationship