A hybrid image registration and matching framework for real-time motion tracking in MRI-guided radiotherapy