A Stochastic Hybrid Systems based framework for modeling dependent failure processes