A Novel System Consisting of Two Immiscible Solvents and Surfactants for Separating Nanoparticles from By-Products, Controlling Particle Agglomeration and Promoting Crystallinity of Particles