A philosophical approach to psychology, psychotherapy and psychiatry