Gaseous diffusion in a stressed-thermoelastic solid. Part II: Thermodynamic structure and transport theory