Bouc-Wen-type models with stiffness degradation: thermodynamic analysis and application