Rational dependence among Hilbert and Poincaré series