Three-dimensional treatment planning for radiotherapy.