Thermodynamics of vacancies and clusters in high-entropy alloys