Stability analysis of switched systems with stable and unstable subsystems: An average dwell time approach | Synapse