Determination of the bond length and binding energy of the helium dimer by diffraction from a transmission grating