Pd-Core-Based Core–Shell Nanoparticles for Catalytic and Electrocatalytic Applications