Equilibrium and stability of polarization in ultrathin ferroelectric films with ionic surface compensation