ERD: A Framework for Improving LLM Reasoning for Cognitive Distortion Classification