A fully automated mass spectrometer for the analysis of organic solids