Emotion concepts and their function in a large language model