Tensor-structured Galerkin approximation of parametric and stochastic elliptic PDEs