Analysing the resilience of interdependent infrastructure systems with network flow models