Manipulating the Optical Properties of Hollow Pd/Ag and Pt/Ag Nanoparticles Synthesized by Galvanic Replacement Reaction