Potential application of a porous graphitic carbon nitride as an organic metal-free photocatalyst for water splitting