n-ZnO/p-CuI barrier heterostructure based on zinc-oxide nanoarrays formed by pulsed electrodeposition and SILAR copper-iodide films