The magnesium ion has an electron configuration like that of which noble gas?