How does diffraction grating create a spectrum?