Photocatalysis of C, N-doped ZnO derived from ZIF-8 for dye degradation and water oxidation