Fundamental constraints imposed by energy barriers on the fill factor and on the efficiency of silicon heterojunction solar cells