Analysis of nonuniform field emission from a sharp tip emitter of Lorentzian or hyperboloid shape