Green polymeric nanomaterials for the photocatalytic degradation of dyes: a review