Photocatalytic applications of graphitic-C3N4 for the generation of hydrogen energy and degradation of environmental pollutants