On modeling the synergy of cancer immunotherapy with radiotherapy