Charge blocking layers in thin-film/amorphous photovoltaics