Galvanic Replacement Synthesis of Metal Nanostructures: Bridging the Gap between Chemical and Electrochemical Approaches