Synthesis, characterization and applications of metal nanoparticles supported on porous carbon