A prospective comparison of endorectal ultrasound and pelvic magnetic resonance in the preoperative staging of rectal cancer