Improvement optical efficiency of modified g-C3N4 with soft templating agents as photocatalyst for photodegradation efficiency of pollutants, UV–vis and fluorescence spectroscopy studies