CaPtO3 as a novel post-perovskite oxide