First-Principles Study of C Adsorption and Diffusion on the Surfaces and in the Subsurfaces of Nonreconstructed and Reconstructed Ni(100)