Review of environmental effects in intermetallics