Preparation of electrophoretic nanoparticles for electronic paper