Spectral volumes: a Fourier-based method for reconstruction in cryo-EM with continuous heterogeneity