Why is cobalt (Co) placed before nickel (Ni) on the periodic table of the elements even though it has a higher average atomic mass than nickel?