Derivation of imperfect interface models coupling damage and temperature