Smooth stable manifolds for the non-instantaneous impulsive equations with applications to Duffing oscillators