Impact of Epistasis on Evolutionary Adaptation