Text this: Fabrication of fiber grating by phase mask and its sensing application