Understanding Token and Positional Embeddings in Transformers