Theoretical investigation of the electron capture in collisions of O8+ ion with H and He atoms: Comparison between the Landau–Zener and the over-barrier models