Thermally and pH-responsive gelation of nanoemulsions stabilized by weak acid surfactants.