Formation of Type I-IR and Type II-IR gratings with an ultrafast IR laser and a phase mask | Synapse