AUTOCORRELATION OF RATIOS OF CHARACTERISTIC POLYNOMIALS AND OF L-FUNCTIONS