Mechanics-based scaling laws for the durability of thermal barrier coatings