A nitrogen-doped porous carbon derived from copper phthalocyanines on/in ZIF-8 as an efficient photocatalyst for the degradation of dyes and the CH activation of formamides