The relationship between psychology and philosophy