Factors that affect the rate of adaptive protein evolution