Nanoconducting polymer: an effective adsorbent for dyes