The energy bands of thallous chloride and bromide