An X-ray pulsar in SNR G109.1–1.0