Text this: Power allocation algorithms in two-hop relaying networks based on optimal energy efficiency