Vibrationally resolved ionization cross sections for the ground state and electronically excited states of the hydrogen molecule