Palladium-based nanoelectrocatalysts for renewable energy generation and conversion