How does the position of an element on the periodic table allow you to determine if the element is a metal or non-metal?