Determination of electron flux spectra in a solar flare with an augmented regularization method: application to rhessi data