On stochastic partial differential equations with polynomial nonlinearities