On the resolution of semiconductor multilayers with a scanning electron microscope