Suboptimal joint user equipment pairing and power control for device-to-device communications underlaying cellular networks