Green Internet of Things for Smart Cities