Solar cell contacts: quantifying the impact of interfacial layers on selectivity, recombination, charge transfer, and Voc