Continuum theory of lipid bilayer electrostatics