Theoretical study of p–d hybridization in Co perovskite