Power allocation for three-phase two-way relay networks with simultaneous wireless information and power transfer