Thermomechanical constitutive modeling of viscoelastic materials undergoing degradation