Evolution of stress and morphology in thermal barrier coatings