Variational Formulations and Galerkin Methods for Strain Gradient Elasticity