Demonstration of a triple quadrupole mass spectrometer