High spatial resolution surface potential measurements using secondary electrons