Decomposition results for stochastic storage processes and queues with alternating Lévy inputs