Studies on grain-boundary chemistry of perovskite ceramics as CO gas sensors