Refining channel and power allocation for green device-to-device communications. (28th May 2020)