Incorporation of dye into conducting polyaniline nanoparticles