Green's function for δ-function potentials with a hard core : application to multiphoton photodetachment of negative halogen ions