Adsorption of a carbon atom on the Ni 38 magic cluster and three low-index nickel surfaces: A comparative first-principles study