Surface pattern formation in UV-curable coatings