Two-Dimensional Phase Unwrapping Based on Selective Smoothing and Inconsistency Correction