Mechanics of distributed fibre optic sensors for strain measurements on rods