A chemiluminescence study of the properties and degradation of epoxy resins as coatings