Dissipation rates and partition of energy in thermoelasticity