A generalized distributed delay model for HBV infection with two modes of transmission and adaptive immunity: A mathematical study