How many unpaired electrons are in a Mg atom?