Few-layered g-C3N4-derived core–shell isotype heterojunction photocatalysts for efficient environmental remediation