Resonant charge transfer between H+ and H from 1 to 5000 eV