In diffraction grating experiment how does diffraction occur?