Estimation and model specification testing in nonlinear time series econometrics