Distributed power control in wireless ad hoc networks using message passing: Throughput optimality and network utility maximizat