EigenVI: score-based variational inference with orthogonal function expansions