Understanding the Role of Equivariance in Self-supervised Learning