A C*algebraic approach to determinants and pfaffians