Production and measurement of H2 in rovibrationally excited states