Imaging spectroscopy of hard X-ray sources in solar flares using regularized analysis of source visibilities