Computational study of carbon segregation and diffusion within a nickel grain boundary