Connecting theory with experiment to understand the photocatalytic activity of CuO–ZnO heterostructure