Voltage-matched thin film solar cells in 3-terminal configuration