On the stability of local scheduling policies in networks of packet switches with input queues