Accuracy on the Line: On the Strong Correlation Between Out-of-Distribution and In-Distribution Generalization