The effects of postoperative pain and its management on postoperative cognitive dysfunction.