Production of mesoporous carbon nitrides and their photocatalytic properties for degradation of organic pollutants