High-precision virial coefficients of argon and carbon dioxide from integration of speed of sound data in the pressure–temperature domain