The singular value decomposition to approximate spectra of dynamical systems. Theoretical aspects