The dependence of speckle contrast on velocity