Fitting piecewise linear threshold autoregressive models by means of genetic algorithms