Soft self-assembled nanoparticles with temperature-dependent properties