Effects of surgery, anesthesia and intraoperative blood loss on immunocompetence