Solid-state preparation of CuO/ZnO nanocomposites for functional supercapacitor electrodes and photocatalysts with enhanced photocatalytic properties