MRI-guided online adaptive radiotherapy