Distributed Resource Allocation for SWIPT-Enabled Cognitive Networks With and Without Perfect CSI