Conducting polymer nanoparticles synthesized in an ionic liquid by chemical polymerisation