Jordanian firm agrees to buy Leviathan gas