Transition metal nanoparticles as electrocatalysts for ORR, OER, and HER