Performance Analysis of Adaptive Physical Layer Network Coding for Wireless Two-Way Relaying