Agreement-on-the-line: Predicting the Performance of Neural Networks under Distribution Shift