Two-dimensional polymeric carbon nitride: structural engineering for optimizing photocatalysis