Predicting outcome after endorectal ileoanal anastomosis