Polypyrrole coating films for nanoparticles