Fabrication of high temperature moiré grating and its application