The effect of embedded nanopillars on the built-in electric field of amorphous silicon pin devices