Duality for Stochastic Models of Transport