How Emotions Affect Logical Reasoning