CANONICAL FORMALISM AND QUANTIZATION FOR A CLASS OF CLASSICAL FIELDS WITH APPLICATION TO RADIATIVE ATOMIC DECAY IN DIELECTRICS