Equilibrium Charge States of Br and I Ions in Solids and Gases in the Energy Range 10-180 MeV