The Role of Anchor Tokens in Self-Attention Networks