plots autocorrelation and partial autocorrelation functions