Structural characterization under tandem mass spectrometry conditions: infrared spectroscopy of gas phase ions