Noble-Metal Nanocrystals with Controlled Shapes for Catalytic and Electrocatalytic Applications