Optimization of the facet structure of transition-metal catalysts applied to the oxygen reduction reaction