Efficient simulation of a tandem Jackson network