Structural restoration of seismic and geologic sections in extensional regimes