Thermodynamic aspects of superionic conductivity