Molecular dynamics of ionic self-diffusion at an MgO grain boundary