The synergistic photocatalytic effects of surface-modified g-C3N4 in simple and complex pollution systems based on a macro-thermodynamic model