An Energy-Efficient Stream Join for the Internet of Things