Optimization of binary thermodynamic and phase diagram data