Relationship between aggregation and degradation of an azo dye in aqueous solutions