Stability and energy decay rates in thermoelasticity