Shear dilatancy in rock and precursory changes in seismic velocities