Cosmological Two-Fluid Thermodynamics