Stresses produced by the anodic oxidation of nickel