Theoretical study on magnetic ground state in the perovskite CeCoO3