On the charge density and potential near the surface of a field emitter