Nanoarray heterojunction and its efficient solar cells without negative impact of photogenerated electric field