Eigenfunction expansions for generalized functions of several variables