Hopf bifurcation of a tumor immune model with time delay