Mating system of free-ranging domestic dogs and its consequences for dog evolution