On threshold autoregressive processes