Duality results for Markov-modulated fluid flow models