The psychology of chronic pain and its management