Causal2Vec: Improving Decoder-only LLMs as Versatile Embedding Models