Relativistic statistical thermodynamics