Inference in Econometric Models with Structural Change