Photothermal investigations of phase transitions in liquid thermoelectrics