EDT: Improving Large Language Models' Generation by Entropy-based Dynamic Temperature Sampling