How do you find metals and nonmetals on the periodic table?