Activation energy spectra and relaxation in amorphous materials