Phase distribution and properties identification of heterogeneous materials: A data-driven approach