Bounded and periodic solutions of differential equations with impulse effect in a Banach space