Inelastic processes in 1-1000 keV/u collisions of Beq+ (q = 2–4) ions with atomic and molecular hydrogen