Energy-release rates and opening of cracks in thin barrier coatings on polymer substrates subjected to tensile loading