Properties and sensing applications of long-period gratings