Rectifying and photovoltaic properties of the heterojunction composed of CaMnO3 and Nb-doped SrTiO3