Accurate description of surface ionization in electron probe microanalysis: An improved formulation