Multiphase equilibria of binary and ternary mixtures involving solid phase(s) at supercritical-fluid conditions