The effect of intermolecular interactions on the electric properties of helium and argon. III. Quantum statistical calculations of the dielectric second virial coefficients