A surprising diversity of dog shapes and sizes evolved long before the Victorians began making modern breeds