Experimental determination of the slow-neutron wavelength distribution