Interfacial degradation mechanisms with applications to polymer-matrix composites and intergranular stress corrosion cracking of steels