Electron-gas interactions in the environmental scanning electron microscopes gaseous detector