Reversible switching of amphiphilic self-assemblies between micelles and microemulsions by a thermal stimulus.