Investigation on modified g-C3N4 based nanostructured photocatalysts for energy and environmental application