Phase imaging based on wavefront propagation