N-doped nanoporous graphene decorated three-dimensional CuO nanowire network and its application to photocatalytic degradation of dyes