Polynomials with a common composite