Stress development in drying coatings after solidification