Measurement of the dispersion relation of capillary waves by laser diffraction