Re-assessment of the thermodynamic properties and phase diagrams of the Ga-As and In-As systems