Perturbative algebraic quantum field theory and the renormalization groups