Efficient Distributed Top-k Query in Wireless Sensor Networks