The evolutionary origin and diversification of feathers