Green5G: Enhancing Capacity and Coverage in Device-to-Device Communication