Best N-term approximation in electronic structure calculations. II. Jastrow factors