Feather function and the evolution of birds