Fibre optic sensor for speed measurement