Nitrogen-doped carbon dot impregnated g-C3N4/SnS2 nanocomposite as an efficient mediator and co-catalyst for enhanced photocatalytic degradation and water splitting