Osmotic pressure and salt exclusion in electrostatically swollen lamellar phases