Electron loss and capture cross sections of 800 KeV amu−1 H and He species in carbon foils