Electron flux maps of solar flares: a regularization approach to RHESSI imaging spectroscopy