Exact Inference of Linear Dependence Between Multiple Autocorrelated Time Series