Thermodynamics and Energy Spectrum of Strongly Correlated Proton and Ionic Conductors