Stochastic Finite Elements: A Spectral Approach