Connecting orbits for nonlinear parabolic equations