Improving Uncertainty Quantification in Large Language Models via Semantic Embeddings