Analysis of the effect of imperfect fiber endfaces on the performance of extrinsic Fabry-Perot interferometric optical fiber sensors