Second-order impulsive differential equations with functional initial conditions on unbounded intervals