Removal of Cr(VI) from water using polypyrrole/attapulgite core–shell nanocomposites: equilibrium, thermodynamics and kinetics