Measurements of axial displacements undergone by a diffusing object in speckle photography