Correlations of nearby levels induced by a random potential