Self-healing coatings based on thiol-ene chemistry