Thermodynamics of the Electron and the Proton