Solution of stochastic partial differential equations using Galerkin finite element techniques