Electrical properties and structural defects of Ni-Cr thin films