A single-mode fiber sensor based on core-offset inter-modal interferometer