FORECASTING WITH INSTABILITIES: AN APPLICATION TO DSGE MODELS WITH FINANCIAL FRICTIONS