Molecular treatment of electron capture in atomic collisions in the meV- to keV-energy regime: Collisions of C5+ ions with H atoms and the effect of core electrons.