Sputtered Cr and reactively sputtered CrNx serving as barrier layers against copper diffusion