Quantum-statistical second virial coefficient and scattering theory