Human-inspired Explanations for Vision Transformers and Convolutional Neural Networks