Hollow gold and platinum nanoparticles by a transmetallation reaction in an organic solution.