Of the elements magnesium, calcium, and barium, which forms the ion with the largest radius? the smallest? what periodic trend explains this?