Electron photodetachment from halide ions in solution. Excited-state dynamics in the polarization well