Image profiles and resolution of magnetic domains in the scanning electron microscope