Roots of Polynomials: on twisted QR methods for companion matrices and pencils