Dynamics analysis of a delayed viral infection model with logistic growth and immune impairment