Time domain measurement of dispersion in optical fibres