Evolutionary traction: the cost of adaptation and the evolution of sex