Blistering failure of elastic coatings with applications to corrosion resistance.