Tunable work function of a WOx buffer layer for enhanced photocarrier collection of pin-type amorphous silicon solar cells