Restricting the growth of Pt nanoparticles through confinement in ordered nanoporous structures