Controlling the Synthesis of Palladium and Platinum Nanocrystals for Electrocatalytic Applications