An ionic bond is the attraction between