Dual light-cone model for the structure functions of deep inelastic scattering and annihilation