Optimal inversion of hard X-ray bremsstrahlung spectra: SVD analysis