Exponential stability of the semigroup associated with a thermoelastic system