Effect of chemical parameters on the interaction between cationic dyes and poly(acrylic acid)