Stability criterion for second order linear impulsive differential equations with periodic coefficients