How is the number of unpaired valance electrons in an atom related to the number of bonds that the atom can form?