Helium generation in stainless steel and nickel