Application of NiOx thin films as p-type emitter layer in heterojunction solar cells