Multiterm calculations of electron energy distributions and transport coefficients in Ar and Hg