Adaptive Multi-Resolution Attention with Linear Complexity