Thermodynamic basis for dielectric relaxation in complex materials.