Electron affinities of halogen atoms