Brain architecture and social complexity in modern and ancient birds