Primary gas-pressure standard from electrical measurements and thermophysical ab initio calculations