Characterization of 45°-tilted fiber grating and its polarization function in fiber ring laser