Coiled-fiber sensor for vectorial measurement of magnetic field