A novel interferometric fiber-optic magnetometer with double digital closed-loop detection scheme