The adsorption mechanism of the anionic and cationic dyes of the cationic resin A®IRC-50, kinetic study and theoretical investigation using DFT