A method of coating a substrate comprising applying to a substrate a coating of a compound represented by the general formula ##STR18## wherein R is an alkyl radical, Y is a divalent hydrocarbon having from 6 to 16 carbon atoms, X is hydrogen or methyl and m is 0 or 1, and subjecting said coating to ionizing irradiation or actinic light.