Facile preparation of ion-doped poly(p-phenylenediamine) nanoparticles for photothermal therapy.