High resolution secondary electron imaging and spectroscopy