Gravar-mail: Maximum a posteriori estimation of crystallographic phases in X-ray diffraction tomography