Pakistan and Iran agree to cooperate in oil sector