Diverse morphological study for nonmetal-doped g-C3N4 composites with narrow bandgap for improved photocatalytic activity