Finite element modelling of the development of stresses in thermal barrier coatings