Thermal Radiation Effect in the Free Expansion of an Ideal Gas and Gibbs' Paradox in Classical Thermodynamics