Simultaneous reconstruction and segmentation with the Mumford-Shah functional for electron tomography