Comparing fault trees and bayesian networks for dependability analysis