An elementary proof of Barnett's theorem about the greatest common divisor of several univarlate polynomials