A temperature-compensated high spatial resolution distributed strain sensor