Spontaneous adsorption of ions on graphene at the electrolyte–graphene interface