Stabilizing of switched linear systems via observer-based output feedback