Diffraction and luminescent structures based on chalcogenide glasses and polymers