Phenomenological model for describing pion-pair production on a proton by virtual photons in the energy region of nucleon-resonance excitation