Generalization Bounds for Uniformly Stable Algorithms