Do Machines Think Emotionally? Cognitive Appraisal Analysis of Large Language Models