Spectral Galerkin approximation of Fokker-Planck equations with unbounded drift