On the oxidation of high-temperature alloys, and its role in failure of thermal barrier coatings