Fiber Vector Magnetometer Based on Polarization-Maintaining Fiber Long-Period Grating With Ferrofluid Nanoparticles