Diffusion in nickel-based intermetallic compounds taking the L12 structure