Tracking control for a class of switched non-linear systems with time-varying delay