Molybdenum carbide nanoparticles embedded in nitrogen-doped porous carbon nanofibers as a dual catalyst for hydrogen evolution and oxygen reduction reactions