Stress development in drying coatings