Division-Free Algorithms for the Determinant and the Pfaffian: Algebraic and Combinatorial Approaches