Validation of an endoscopic anastomotic grading score as an intraoperative method for assessing stapled rectal anastomoses