Invariant measures for stochastic reaction–diffusion equations with weakly dissipative nonlinearities