Tailoring the bandgap of N-rich graphitic carbon nitride for enhanced photocatalytic activity