Iran and Pakistan seal gas deal