Microstructural inhomogeneity and magnetic properties in Co-Cr sputtered films