Measurement of Transport Coefficients by an Optical Grating Technique