Enhancement in the performance of nanostructured CuO–ZnO solar cells by band alignment