Factor Graph Optimization for GNSS/INS Integration: A Comparison with the Extended Kalman Filter