Depth-resolved speckle correlation imaging using the axial memory effect