Experimental methods and techniques for negative-ion production by surface ionization. Part I. Fundamental aspects of surface ionization