Catalytic CO oxidation by Au–Pd core–shell nanoparticles: A first-principles study