Spectral barriers and inertial manifolds for dissipative partial differential equations