Sparse bayesian imaging of solar flares