Dispersion relations for electroweak observables in composite Higgs models