Classical study of single-electron capture and ionization processes in A q+ +(H,H 2 ) collisions