Functional and metabolic imaging in radiotherapy