A Distributed Routing and Channel Selection Scheme for Multi-Channel Wireless Sensor Networks