The impact of improved functional capacity before surgery on postoperative complications: a study in colorectal cancer