Fundamentals of mass spectrometry