An optical fiber sensor based on polyimide coated fiber Bragg grating for measurement of relative humidity