Sex classification of dogs: a reliable method