Critical analysis and optimization of the thermodynamic properties and phase diagrams of the III–V compounds II. The Ga-As and In-As systems