Stability and bifurcation analysis in a viral infection model with delays