Shape-controlled synthesis of Pt nanostructures and evaluation of catalytic and electrocatalytic performance