Collisional deactivation of atomic and molecular hydrogen