Modeling supply network reliability and resilience using dynamic Bayesian networks