Parameters associated with survival in patients undergoing surgical treatment due to rectal cancer