An atlas-guided automatic planning approach for rectal cancer intensity-modulated radiotherapy