Characterising Gradients for Unsupervised Accuracy Estimation under Distribution Shift