Benefits of Compute-and-Forward in Throughput, Energy, and Security