Microscopic Interpretation of Strain-Gradient and Generalized Continuum Models