pH-controlled mechanism of photocatalytic RhB degradation over g-C3N4 under sunlight irradiation