Theory and Practice of Logic-based Therapy: Integrating Critical Thinking and Philosophy into Psychotherapy