Deformations of polynomials and their zeta-functions