Thermodynamics of the early Universe with mirror dark matter.