Unraveling Attention via Convex Duality: Analysis and Interpretations of Vision Transformers