Mixing enthalpy and composition fluctuations in ternary III–V semiconductor alloys