Security and Reliability Performance of a Cooperative Network with Self-Sustaining Nodes