New stability criterion for linear switched systems with time-varying delay