Metallurgical factors in stress corrosion cracking (SCC) and hydrogen-induced cracking (HIC)