Probing H2 autoionizing states with femto- and attosecond laser pulses