Title: Introduction to the thermodynamics of charged and polarized layers