Electron density and gas density measurements in a millimeter-wave discharge