Determination of the transmission factor of electrons in helium and argon for high values of the ratio electric field upon pressure