Inverted GaInP/GaAs three-terminal heterojunction bipolar transistor solar cell