Why is the line that separates the metals from nonmetals on the periodic table diagonal downward?