Effect of diamagnetic cobalt on the exchange interactions in the layered lithium iron oxide