Study shows ancient human, canine relationship