bromine and iodine are placed in the same group (17) of the periodic table