when the light emitted from energized hydrogen gas is passed through the diffraction grating, why are lines produced on either side of the grating?