Generalized polylogarithms in perturbative quantum field theory