A new statistic for redshift surveys: the redshift dispersion of galaxies