Research reveals what drives employees away—and the simple behaviors that make them want to stay.