Nanoparticles assembled via pH-responsive reversible segregation of cyclodextrins in polyrotaxanes.