Effects of plasma non-homogeneity on the physical properties of sputtered thin films