Photoelectron spectra of the halogens and mixed halides ICl and IBr