A probabilistic deep learning approach to automate the interpretation of multi-phase diffraction spectra