Magnetic interactions in CoCr thin films