Contrast ionic and molecular substances in terms of the types of attractive forces that govern their behavior.