Computing Jacobi symbols in algebraic number fields