Synthesis of hollow and nanoporous gold/platinum alloy nanoparticles and their electrocatalytic activity for formic acid oxidation.