Grain-boundary segregation of indium in cobalt monoxide