N-Grammer: Augmenting Transformers with latent n-grams