Electron flux spectral imaging of solar flares through regularized analysis of hard x-ray source visibilities