The effect of intermolecular interactions on the electric properties of helium and argon. II. The dielectric, refractivity, Kerr, and hyperpolarizability second virial coefficients