Temperature-compensated magnetic field sensing with a dual-ring structure consisting of microfiber coupler-Sagnac loop and fiber Bragg grating-assisted resonant cavity.