Compensation of hysteresis in magnetic field sensors employing Fiber Bragg Grating and magneto-elastic materials