The dispersion of gravitational waves