Unified Approach to Modeling of Generation of High- and Low-Frequency Spectrum Components under Ionization of a Dielectric Medium by a Few-Cycle Pulse