Consistent Factor Estimation in Dynamic Factor Models with Structural Instability