Asymptotic stability of solutions for some classes of impulsive differential equations with distributed delay