Functional Group Effects on the HOMO–LUMO Gap of g-C3N4