A tumor-immune interaction model with the effect of impulse therapy