Online Bounds for Bayesian Algorithms