The influence of implanted dopants on stresses and diffusion processes in NiO films during thermal oxidation of Ni