The thermodynamics of Kaluza–Klein black hole/bubble chains