Invariant measures for stochastic heat equations