Reliability and Risk: A Bayesian Perspective