Probabilistic Failure Analysis of Complex Systems with Case Studies in Nuclear and Hydropower Industries