Application of wide‐gap semiconductors to surface ionization: Work functions of AlN and SiC single crystals