CSS: Contrastive Semantic Similarity for Uncertainty Quantification of LLMs