Stability analysis of a model for HBV infection with cure of infected cells and intracellular delay