Statistics for Design of LDPC codes for two-way relay systems with physical-layer network coding