Text this: Monochromaticity of Transition Radiation and Diffraction Radiation from Grating