Explain why the average strength of dipole–dipole interactions in a polar substance generally decreases when the substance is warmed from the solid phase to the gas phase, whereas the magnitude of its London dispersion forces changes much less over the same temperature range.