Applications of Internet of Things (IoT) in Green Computing