Comparison between Grating Imaging and Transient Grating Techniques on Measuring Carrier Diffusion in Semiconductor