Fine-Grained Analysis of Stability and Generalization for SGD