Electrophysical method for eliminating the influence of the harmful volume in primary gas thermometry