Generation of a terahertz supercontinuum by the self-scattering of a femtosecond pulse in the optical-rectification regime