Output feedback control for a class of switching discrete-time linear systems