Dogs first domesticated in Europe, study says