Study of intermetallic nanoparticles and MOF-derived nanostructures in electrocatalysis