Fabrication and characterization of p-n junctions based on ZnO and CuPc