Role of selection in fixation of gene duplications