Comparative study of electron beam–gas interaction in an SEM operating at pressures up to 300Pa