Calculation of ternary and quaternary phase diagrams containing semiconductor/metallic compound pseudo-binary eutectics