Encapsulation of metal particles within the wall structure of mesoporous carbons.