Prognostic value of preoperative magnetic resonance imaging of the pelvis in rectal cancer