Role of charge transfer configurations in LaMnO3, CaMnO3, and CaFeO3.