Motivation and persistence in problem solving in dogs and wolves: effects of different feeding ecologies?