Exploring Translation Mechanism of Large Language Models