What is the relationship between the elements in the same group and number of valence electrons?