Analytical control of photocatalytic treatments: degradation of a sulfonated azo dye