Phase-object analysis with a speckle interferometer