Single-electron-capture cross section for medium- and high-velocity, highly charged ions colliding with atoms