Design features of an ultrahigh-vacuum electron microscope for REM-PEEM studies of surfaces