Design and development of a beam deflection time-of-flight mass spectrometer : applications in gas chromtography/mass spectrometry and potassium ion ionization of desorbed species