Origins of radiation-induced attenuation in pure-silica-core and Ge-doped optical fibers under pulsed x-ray irradiation