Effective group dispersion of terahertz quantum-cascade lasers