Improved heat tolerance in air drives the recurrent evolution of air-breathing