relationship between psychology and medicine