Estimation in threshold autoregressive models with correlated innovations