Hydration in electrical double layers