Relating Charge Transport, Contact Properties, and Recombination to Open-Circuit Voltage in Sandwich-Type Thin-Film Solar Cells