Information Complexity of Stochastic Convex Optimization: Applications to Generalization and Memorization