A Comparative Study on Dynamic Graph Embedding based on Mamba and Transformers