Manipulation of the two-site Kondo effect in linear CoCunCoCum clusters