Nonparametric tests of independence of two autoregressive time series based on autoregression rank scores