Linear and threshold forecasts of output and inflation with stock and housing prices