Intravenous infusion of magnesium sulfate and postoperative analgesia in total knee arthroplasty