Electronically nonadiabatic transitions in a collinear H2 + H+ system : Quantum mechanical understanding and comparison with a trajectory surface hopping method