Solving multimodal problems via multiobjective techniques with Application to phase equilibrium detection