Thermal stability of montmorillonite polyacrylamide and polyacrylate nanocomposites and adsorption of Fe(III) ions