Photocatalytic degradation of 2,4-dihydroxybenzoic acid in water efficiency optimization and mechanistic investigations