The evolution of gained traits in fishes