Periodic structures based on two-dimensional materials: application to phase shifters