Characterization of material surface by using fiber bragg grating