Impact of the reaction conditions on the photocatalytic reduction of water on mesoporous polymeric carbon nitride under sunlight irradiation